
$(function () {

	alert("登陆成功！！！！！")

    $("body").css("opacity","1")

	$(".cl_b ul li a").click(function(){
        console.log(1);
        $(".cl_b ul li a").css("background","#e9e9e9")
        $(this).css("background","white");
    });
    
    
    
    var username = localStorage.getItem("username");
    console.log(username);
    $.post("/xjxt/getusername?username="+ username +"",function(res){
    	
    	var hehe = JSON.parse(res);
    	console.log(hehe);
    	 $("#rename").html(hehe[0].name);
    	 $("#gerentupian").attr("src",hehe[0].gerentupian);
    });



});